<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<%@ page contentType="text/html; charset=utf-8"%>
	<%@ include file="/commons/taglibs.jsp"%>

	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
		<title>数据管理</title>

		<%@ include file="/commons/css_js_head.jsp"%>


		<script type="text/javascript">
//复写Url
doListUrl = "${ctx }/policy/dataContentsAction!doList.ts";
doAddBeforeUrl = "${ctx }/base/tsMomAction!doFindById.ts";
doUpdateBeforeUrl = "${ctx }/base/tsMomAction!doFindById.ts";
doDelUrl = "${ctx }/base/tsMomAction!doDelete.ts"



//关闭小窗口
function onCancel()
{
	closeWindow();
}
function closeWindow()
{
	self.parent.tb_remove();
}
</script>


	</head>
	<body style="overflow-x: hidden">

		<!-- 标题 -->
		<div class="mTitle">
			<span class="hidsearch"><a href="javascript:void(0)"
				onClick="return chg('searchList');" id="ImgArrow"> <img
						src="${ctx}/images/icon_up.gif" id="imgButton" />
			</a> </span>
			<b class="bbig">数据管理</b>
		</div>

		<!--list -->
		<div class="searchBar" id="searchList" style="display: block;">
			<form action="/policy/dataContentsAction!doList" method="post">
				<table class="searchTable">
					<tr>
						<th>
							信息终端名称：
						</th>
						<td>
							<s:textfield name="machines.name" theme="simple"></s:textfield>
						</td>
						<th>
							信息终端编号：
						</th>
						<td>
							<s:textfield name="machines.deviceCode" theme="simple"></s:textfield>
						</td>
						<th>
							应用平台名称：
						</th>
						<td>
							<s:textfield name="appleServer.name" theme="simple"></s:textfield>
						</td>
						
						
						<td>
							<input name="btn_query" type="button" class="btn" value="查询"
								onclick="doQuery();" />
							
						</td>
					</tr>
				</table>
			</form>
		</div>
		<div class="mainList">

			<table class="listTable">
				<tr>
					<th>序号</th>
					<th>
						信息终端名称
					</th>
					<th>
						信息终端编号
					</th>
					<th>
						应用平台名称
					</th>
					<th>
						数据内容
					</th>
					<th>
						发送时间
					</th>
					
					
					
				</tr>

				<c:forEach var="dataContents" varStatus="status" items="${pager.data}">
					<tr align=center>
						<td>${status.index+1} </td>
						<td>
							${dataContents.machines.name}
						</td>
						<td>
							${dataContents.machines.deviceCode}
						</td>
						<td>
							${dataContents.appleServer.name}
						</td>
						
						
						<td>
							${dataContents.contents}
						</td>
						<td>
							${dataContents.sentTime}
						</td>
						
					</tr>
				</c:forEach>
			</table>
		</div>
		<!--end list -->

		<!-- 分页区域  -->
<%@ include file="/page/pager.jsp"%>

<script type="text/javascript">
ajaxAnywhere.formName = "form1";
ajaxAnywhere.getZonesToReload = function() {
    return "zoneList";
}
</script>

	</body>
</html>
